const { merge } = require( 'webpack-merge' )
const commonConfig = require( './webpack.common.js' )
const { DefinePlugin } = require( 'webpack' )

module.exports = merge( commonConfig, {
    mode: 'development',
    devtool: "cheap-module-source-map",
    plugins: [
        new DefinePlugin( {
            BASE_URL: '/public/'
        } )
    ]
} )